package com.nanhang.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class employee implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "eid", type = IdType.AUTO)
    private  Integer eid;
    private  String ename;
    private String sex;
    private Integer age;
    private String addr;
    private String phone;
    private  Integer did;
    @TableField(exist = false)   // 说明不存在此字段
    private String dname;

}
